package tec.stan.ling.topo.graph.palette;

import tec.stan.ling.core.top.model.NE;

/**
 * Object for PaletteCreationFactory to create IElement. Now 'value' is not
 * used.
 * 
 * 该类在PaletteCreationFactory使用，用于构造NE。现在'value'没有用到。
 * 
 * @author Stan 张新潮
 * @since 2009-12-31
 */
public class PaletteObject {

	private Class<? extends NE> objectType;

	private Object value;

	public PaletteObject(Class<? extends NE> objectType) {
		this.objectType = objectType;
	}

	public Class<? extends NE> getObjectType() {
		return objectType;
	}

	public void setObjectType(Class<? extends NE> objectType) {
		this.objectType = objectType;
	}

	public Object getValue() {
		return value;
	}

	public void setValue(Object value) {
		this.value = value;
	}

}
